//
//  SRSpeakingTestTableViewCell.h
//  StoryShow
//
//  Created by CyonLeuMBP on 2017/4/20.
//  Copyright © 2017年 qudiandu.cn. All rights reserved.
//

#import <UIKit/UIKit.h>

#import "SRBookPageTrackItemModel.h"
#import "SREvaluationScoreModel.h"

extern NSString *const kSRSpeakingTestTableViewCell;

@interface SRSpeakingTestTableViewCell : UITableViewCell

@property (strong, nonatomic) NSIndexPath *indexPath;
@property (assign, nonatomic) BOOL isExpand;
@property (assign, nonatomic) BOOL isRecording;
@property (strong, nonatomic) SRBookPageTrackItemModel *model;


@property (copy, nonatomic) void (^touchOriginPlayButtonBlock)(SRBookPageTrackItemModel *trackModel, UIButton *sender);
@property (copy, nonatomic) void (^touchRecodButtonBlock)(SRBookPageTrackItemModel *trackModel, UIButton *sender, BOOL isRecording, NSIndexPath *indexPath);
@property (copy, nonatomic) void (^touchUserRecordPlayButtonBlock)(SRBookPageTrackItemModel *trackModel, UIButton *sender);
@property (copy, nonatomic) void (^touchShareButtonBlock)(SRBookPageTrackItemModel *trackModel, UIButton *sender);
@property (copy, nonatomic) void (^touchWordTranslateBlock)(NSString *word);
@property (copy, nonatomic) void (^hideWordTranslateBlock)(void);


- (void)updateCellInfo:(SRBookPageTrackItemModel *)model;
- (void)setProgress:(CGFloat)progress;
- (void)setScoreModel:(SREvaluationScoreModel * )scoreModel;

@end
